package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ToString
@TableName("crop")
public class Crop {
  @TableId
  private String cropName;
  private String cropType;
  private String cropImg;
  private Long cropProduction;
  private Long cropGrowthCycle;
  private Long cropArea;
  private Double cropPrice;
  @TableField(exist = false)
  private Long cropNum;
  private Long plotId;
  private java.sql.Timestamp createdAt;
  private java.sql.Timestamp updatedAt;
  private Long cropStatus;
}
